﻿using B.S.BasicData.ErrorCode;
using MediatR;

namespace B.S.BasicData.Api.Write.Application.Command.GridPerson
{
    /// <summary>
    /// 更新网格人员的请求命令
    /// </summary>
    public class UpdateGridPersonCommand:IRequest<ApiResult<int>>
    {

        /// <summary>
        /// 要更新的的网格人员的Id
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string AccountName { get; set; }
        ///// <summary>
        ///// 密码
        ///// </summary>
        //public string Pwd { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName { get; set; }
        public string CardId { get; set; }
        public string PhoneNo { get; set; }
        /// <summary>
        /// 所属部门Id:前端在级联组件中选择的id
        /// </summary>
        public long DepartmentId { get; set; }
        public long RoleId { get; set; }
        /// <summary>
        /// 创建人,从前端pinia里面取出来  pinia.loginDTO.accountName
        /// </summary>
        public string Creator { get; set; }



        ///// <summary>
        ///// 加盐:MD5加盐操作,要用于对用户密码等敏感信息进行加密保护
        ///// </summary>

 
    }
}
